from django.db import models

# class SourceDestination(models.Model):
#     project_id = models.IntegerField()
#     branch_or_tag = models.CharField(max_length=100)
#     ref = models.CharField(max_length=100)


'''
    通过接口获取 gitlab 文件时的 body 参数字段
'''
class FileDiffDefaultField(models.Model):
    src = models.JSONField()
    srcPath = models.JSONField()
    dest = models.JSONField()
    destPath = models.JSONField()

    # def __str__(self):
    #     return self.username

    class Meta:
        db_table = "diff_default_field"